package net.oschina.app.viewpagerfragment;

import net.oschina.app.adapter.BaseVPAdapter;
import net.oschina.app.base.BaseVPFragment;
import net.oschina.app.fragment.DefaultFragment;


public class TweetsVPFragment extends BaseVPFragment {

    @Override
    protected void setupTab(BaseVPAdapter adapter) {
        adapter.clear();//先清除适配器集合中的数据，再添加
        adapter.addTab("我的动弹",DefaultFragment.class,getBundle("我的动弹内容"));
        adapter.addTab("热门动弹",DefaultFragment.class,getBundle("热门动弹内容"));
        adapter.addTab("最新动弹",DefaultFragment.class,getBundle("最新动弹内容"));
    }
}
